projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6c0de43
)
Annotate gdk_x11_display_get_screen()
author
Emmanuele Bassi
<ebassi@gnome.org>
Thu, 21 Dec 2017 18:49:25 +0000
(18:49 +0000)
committer
Emmanuele Bassi
<ebassi@gnome.org>
Thu, 21 Dec 2017 18:49:25 +0000
(18:49 +0000)
We're missing the gtk-doc stanza, as well as the transfer annotation for
the returned pointer.
gdk/x11/gdkdisplay-x11.c
patch
|
blob
|
history
diff --git
a/gdk/x11/gdkdisplay-x11.c
b/gdk/x11/gdkdisplay-x11.c
index 5b1b8848807bf3744711b816d98c8e091ae354d2..762de7f96d696d1e544803d18486295f28e6b5b7 100644
(file)
--- a/
gdk/x11/gdkdisplay-x11.c
+++ b/
gdk/x11/gdkdisplay-x11.c
@@
-2906,6
+2906,14
@@
gdk_x11_display_get_max_request_size (GdkDisplay *display)
return size;
}
+/**
+ * gdk_x11_display_get_screen:
+ * @display: a #GdkX11Display
+ *
+ * Retrieves the #GdkX11Screen of the @display.
+ *
+ * Returns: (transfer none): the #GdkX11Screen
+ */
GdkX11Screen *
gdk_x11_display_get_screen (GdkDisplay *display)
{